<!DOCTYPE html>

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets" 
    xmlns:rich="http://richfaces.org/rich"
    xmlns:a4j="http://richfaces.org/a4j" >

    <rich:popupPanel id="popup" modal="true" onmaskclick="#{rich:component('popup')}.hide()" show="#{productc.view.popup}">
        <f:facet name="header">
            <h:outputText value="Aviso" />
        </f:facet>
        <f:facet name="controls">
            <h:outputLink value="#" onclick="#{rich:component('popup')}.hide(); return false;">
            Fechar
        </h:outputLink>
        </f:facet>
        <h:graphicImage name="#{productc.view.image}" id="status_image" library="image" />
        <h:outputText value="#{productc.view.status}" id="status_text" />
    </rich:popupPanel>


</ui:composition>		